<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no" />
  <title>11-15作业订正</title>
  <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
</head>

<body>
  <div class="box"></div>
  <script src="./js/work.js"></script>
  <script>
    let cylinder = new Cylinder(2, 10)
    console.log('圆柱的体积是:' + cylinder.findVolume()) // 圆柱的体积是:125.7
    cylinder.setRadius(1)
    cylinder.setLength(1)
    console.log('圆柱的体积是:' + cylinder.findVolume()) // 圆柱的体积是:3.14

  </script>
</body>

</html>